import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_chat/common/utils/log.dart';
import 'package:get/get.dart';

class RegisterPage extends StatelessWidget {
  const RegisterPage({super.key});

  @override
  Widget build(BuildContext context) {
    print(Get.arguments);
    // TODO: implement build
    return Scaffold(
        appBar: AppBar(
          title: Text("注册"),
        ),
        body: Padding(
          padding: EdgeInsetsDirectional.fromSTEB(40, 40, 40, 20),
          child: Stack(
            alignment: Alignment.topCenter,
            children: [
              Column(
                mainAxisAlignment: MainAxisAlignment.start,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: [
                  SizedBox(
                    height: 80,
                  ),
                  TextField(
                    decoration: InputDecoration(hintText: "请输入用户名"),
                  ),
                  TextField(
                    decoration: InputDecoration(hintText: "请输入密码"),
                  ),
                  SizedBox(
                    height: 80,
                  ),
                  ElevatedButton(
                    onPressed: () {},
                    child: Container(
                      height: 50,
                      alignment: Alignment.center,
                      child: Text("注册"),
                    ),
                  )
                ],
              )
            ],
          ),
        ));
  }
}
